(Ready)fix: handle multiple copilot server instances - #387
Conversation
- Stop old client instance instead of erroring when multiple servers are started - Replace deprecated vim.loop with vim.uv
Some LSP servers like jsonlsp don't support window/logMessage method, causing potential errors. Move the handler to client config to avoid this.
Fix LSP warning by providing required editorInfo and editorPluginInfo fields in initializationOptions for the Copilot LSP client.
|
@AntoineGS Hello, I've fixed some warning and error :) Could you please have a look when you are free? |
|
I've pushed a fix for the multiple instances instead of merging this PR as there are a couple of less critical changes in this one and wanted more time to review them. |
sure 😀 you can also review my commits separately, each of them has solved a tiny issue |
|
Could you create a separate PR for the handler change? |
Sure, but I am a little busy now, so you may have to wait for minutes/hours |
|
No worries I will get creative this time around and split them |
background: #386